home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3p / usinitlock.z / usinitlock
Encoding:
Text File  |  1998-10-20  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. UUUUSSSSIIIINNNNIIIITTTTLLLLOOOOCCCCKKKK((((3333PPPP))))                                                  UUUUSSSSIIIINNNNIIIITTTTLLLLOOOOCCCCKKKK((((3333PPPP))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      usinitlock - initializes a lock
  10.  
  11. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<uuuulllloooocccckkkkssss....hhhh>>>>
  13.  
  14.      iiiinnnntttt uuuussssiiiinnnniiiittttlllloooocccckkkk ((((uuuulllloooocccckkkk____tttt lllloooocccckkkk))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _u_s_i_n_i_t_l_o_c_k initializes the lock specified by _l_o_c_k.  All previous
  18.      information associated with the lock (metering, debugging) is
  19.      reinitialized.  _u_s_i_n_i_t_l_o_c_k should only be used for previously allocated
  20.      locks.  Locks are allocated using _u_s_n_e_w_l_o_c_k(_3_P).
  21.  
  22.      _u_s_i_n_i_t_l_o_c_k will cause unpredictable results if _l_o_c_k does not point to a
  23.      valid lock.
  24.  
  25. NNNNOOOOTTTTEEEE
  26.      _u_s_i_n_i_t_l_o_c_k assumes that the fields of the ulock_t structure are in a
  27.      valid state.  The use of _m_a_l_l_o_c rather than _u_s_n_e_w_l_o_c_k may result in a
  28.      segmentation violation.
  29.  
  30. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  31.      usnewlock(3P), usctllock(3P).
  32.  
  33. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  34.      0 is always returned.
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.